package com.bike.entity;

import java.math.BigDecimal;

import org.springframework.scheduling.config.Task;
import org.springframework.util.StringUtils;

import com.bike.util.Constant;

public class HhAgent {
	 private Long agentId; 
	 private String name; 
	 private Long parentId; 
	 private String parentName; 
	 private String province; 
	 private String city; 
	 private String county; 
	 private Long countyId; 
	 private BigDecimal agentFee; 
	 private BigDecimal balance; 
	 private String mobile; 
	 private String address; 
	 private Integer addTime; 
	 private Integer type; 
	 private Integer status; 
	 private String taxProve; 
	 private String businessProve; 
	 private String card; 
	 private String cardBack; 
	 private String bankCard; 
	 private String bankName; 
	 private String bank; 
	 private String bankBranch; 
	 private String bankBranchId; 
	 
	 
	 private String bankId;
	 private Long bankProvinceId;
	 private String bankProvince;
	 private Long bankCityId;
	 private String bankCity;
	 private long id;
	 private String text;
	 
    public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public String getBankId() {
		return bankId;
	}
	public void setBankId(String bankId) {
		this.bankId = bankId;
	}
 
	public String getBankProvince() {
		return bankProvince;
	}
	public void setBankProvince(String bankProvince) {
		this.bankProvince = bankProvince;
	}
	public Long getBankProvinceId() {
		return bankProvinceId;
	}
	public void setBankProvinceId(Long bankProvinceId) {
		this.bankProvinceId = bankProvinceId;
	}
 
	public Long getBankCityId() {
		return bankCityId;
	}
	public void setBankCityId(Long bankCityId) {
		this.bankCityId = bankCityId;
	}
	public String getBankCity() {
		return bankCity;
	}
	public void setBankCity(String bankCity) {
		this.bankCity = bankCity;
	}
	public String getBankBranchId() {
		return bankBranchId;
	}
	public void setBankBranchId(String bankBranchId) {
		this.bankBranchId = bankBranchId;
	}
	public long getId() {
		return agentId;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getText() {
		return name;
	}
	public void setText(String text) {
		this.text = text;
	}
	public Long getAgentId() {
        return agentId;
    }
     public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }
    public String getName() {
        return name;
    }
     public void setName(String name) {
        this.name = name;
    }
    public Long getParentId() {
        return parentId;
    }
     public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
    public String getProvince() {
        return province;
    }
     public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
     public void setCity(String city) {
        this.city = city;
    }
    public String getCounty() {
        return county;
    }
     public void setCounty(String county) {
        this.county = county;
    }
    public Long getCountyId() {
        return countyId;
    }
     public void setCountyId(Long countyId) {
        this.countyId = countyId;
    }
    public BigDecimal getAgentFee() {
        return agentFee;
    }
     public void setAgentFee(BigDecimal agentFee) {
        this.agentFee = agentFee;
    }
    public BigDecimal getBalance() {
        return balance==null?new BigDecimal("0"):balance;
    }
     public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
    public String getMobile() {
        return mobile;
    }
     public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getAddress() {
        return address;
    }
     public void setAddress(String address) {
        this.address = address;
    }
    public Integer getAddTime() {
        return addTime;
    }
     public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }
    public Integer getType() {
        return type;
    }
     public void setType(Integer type) {
        this.type = type;
    }
    public Integer getStatus() {
        return status;
    }
     public void setStatus(Integer status) {
        this.status = status;
    }
    public String getTaxProve() {
        return StringUtils.isEmpty(taxProve)?Constant.uploadDefaultImg:taxProve;
    }
     public void setTaxProve(String taxProve) {
        this.taxProve = taxProve;
    }
    public String getBusinessProve() {
        return StringUtils.isEmpty(businessProve)?Constant.uploadDefaultImg:businessProve;
    }
     public void setBusinessProve(String businessProve) {
        this.businessProve = businessProve;
    }
    public String getCard() {
        return StringUtils.isEmpty(card)?Constant.uploadDefaultImg:card;
    }
     public void setCard(String card) {
        this.card = card;
    }
    public String getCardBack() {
        return StringUtils.isEmpty(cardBack)?Constant.uploadDefaultImg:cardBack;
    }
     public void setCardBack(String cardBack) {
        this.cardBack = cardBack;
    }
    public String getBankCard() {
        return bankCard;
    }
     public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }
    public String getBankName() {
        return bankName;
    }
     public void setBankName(String bankName) {
        this.bankName = bankName;
    }
    public String getBank() {
        return bank;
    }
     public void setBank(String bank) {
        this.bank = bank;
    }
    public String getBankBranch() {
        return bankBranch;
    }
     public void setBankBranch(String bankBranch) {
        this.bankBranch = bankBranch;
    }
}